{erl_opts, [
    debug_info,
    {i, "apps/game/include"},
    {i, "apps/game/include/proto"}
]}.
{deps, [
    % Performance Analysis
    {recon, {git, "https://gitee.com/raincoldl/recon.git", {tag, "2.5.1"}}},
    {observer_cli, {git, "https://gitee.com/raincoldl/observer_cli.git", {tag, "1.7.4"}}},

    % Network & Web
    {cowlib, {git, "https://gitee.com/raincoldl/cowlib.git", {tag, "2.13.0"}}},
    {ranch, {git, "https://gitee.com/raincoldl/ranch.git", {tag, "1.8.0"}}},
    {cowboy, {git, "https://gitee.com/raincoldl/cowboy.git", {tag, "2.12.0"}}},

    % Json
    {jiffy, {git, "https://gitee.com/raincoldl/jiffy.git", {tag, "1.1.1"}}},

    % DB
    {db, {git, "https://gitee.com/raincoldl/game_db.git", {branch, "master"}}},

    % Util
    {game_util, {git, "https://gitee.com/raincoldl/game_util.git", {branch, "master"}}},

    % Config
    {game_config, {git, "https://gitee.com/raincoldl/game_config.git", {branch, "master"}}},

    % Log
    {game_log, {git, "https://gitee.com/raincoldl/game_log.git", {branch, "master"}}},

    % BuildProto
    {build_proto, {git, "https://gitee.com/raincoldl/build_proto.git", {branch, "master"}}},

    % ELockStep
    {elock_step, {git, "git@gitee.com:raincoldl/elock_step.git", {branch, "master"}}},

    % Sync
    {sync, {git, "https://gitee.com/raincoldl/sync.git", {tag, "v0.4.1"}}}
]}.

{plugins, [
    % Protocol
    {gpb, {git, "https://gitee.com/raincoldl/gpb_game.git", {branch, "master"}}},
    {rebar3_gpb_plugin,
        {git, "https://gitee.com/raincoldl/rebar3_gpb_game_plugin.git", {branch, "develop"}}}
]}.

{project_plugins, [
    {erlfmt, {git, "https://gitee.com/raincoldl/erlfmt.git", {tag, "v1.6.2"}}}
]}.

{erlfmt, [write]}.

{rebar_packages_cdn, "https://hexpm.upyun.com"}.
